﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace DELVE_GAME.ViewStructure
{
    class AllianceButton : Button
    {
        Color color;
        public AllianceButton(int x, int y, Sprite sprite, Color color) : base(x, y, sprite)
        {
            this.color = color;
        }

        public override void draw(Microsoft.Xna.Framework.Graphics.SpriteBatch sb)
        {
            if (!this.isActive)
            {
                imageIndex = 3;
            }
            base.draw(sb, color);
        }
    }
}
